/**
 * related to toast1.ui
 * 
 * @Author : weixy
 * @Timestamp : 2017-04-30
 */
var notify = sm("do_Notification");
var Controller = require("core/controller");
var log = require("util/log")
var navigate = require("util/navigate")
var router = require("config/router")
var server = require('config/server');
var net = require("util/net");
var page = sm("do_Page");
var dialog=sm("do_Dialog");
Controller({
	mapping:{
		"lay_cancle.text":"lay_cancle",
		"btn_withDraw.text":"btn_withDraw"
	},
	data:{
		dialData:{}
	},
	event:{
		"lay_cancle":{
			'touch':function(){
				dialog.close()	
			}
		},
		"btn_withDraw":{
		'touch':function(){
//			page.fire("casCancle")
			dialog.close()
		}
	}
	},
	loaded:function(){
		log.info("dialog open")
		log.info(9616,dialog.getData())
		this.data.dialData=dialog.getData();
//		log.info(get_data);
//		this.data.dialData=get_data;
//		log.info(this.data.dialData);
//		this.refresh();
		
	}
})